package com.dinghui.salary.pojo;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
@Getter
@Setter
@Table(name = "salary_change_apply")
public class SalaryChangeApply implements Serializable {
    /**
     * 主键id
     */
    @Id
    private String id;

    /**
     * 变动原因
     */
    private String reason;

    /**
     * state(1 == 待审核， 2 == 审核通过， 3 == 审核不通过)
     */
    private Integer state;

    /**
     * 是否删除,逻辑删除
     */
    @Column(name = "is_delete")
    private Boolean isDelete;

    /**
     * 创建人
     */
    @Column(name = "create_by")
    private String createBy;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 更新人
     */
    @Column(name = "update_by")
    private String updateBy;

    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private Date updateTime;

    /**
     * 年月
     */
    @Column(name = "year_months")
    private String yearMonths;

    /**
     * 身份证
     */
    @Column(name = "id_number")
    private String idNumber;

    /**
     * 姓名
     */
    private String name;
}